import Router from 'vue-router';
import Layout from '@/views/layout.vueBox';
import routes from './routes';

const router = new Router({
    routes: [
        {
            path: '/',
            component: Layout,
            redirect: routes[0].path,
            children: routes
        }
    ]
})
export default router;
